[Ocfs2-devel] [PATCH 2/3] Ocfs2: Add a new code 'OCFS2_INFO_FREEINODE' for o2info ioctl.
Tristan Ye
tristan.ye at oracle.com
Mon Dec 6 17:46:08 PST 2010
Joel Becker wrote:
> On Tue, Nov 16, 2010 at 06:13:41PM +0800, Tristan Ye wrote:
>> + if (inode_alloc)
>> + iput(inode_alloc);
>
> Do the iput up in the calling function where it matches the
> get_system_file_inode() call. This just makes it easier to spot the
> get/put pair.
It makes sense;)
>
> Joel
>
More information about the Ocfs2-devel
mailing list