[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131213163211.GD20803@infradead.org>
Date: Fri, 13 Dec 2013 08:32:11 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Zhi Yong Wu <zwu.kernel@...il.com>
Cc: xfs@....sgi.com, linux-fsdevel@...r.kernel.org,
Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] xfs: factor prid related codes into
xfs_get_initial_prid()
> +static inline prid_t xfs_get_initial_prid(struct xfs_inode *dp)
> +{
> + if (dp->i_d.di_flags & XFS_DIFLAG_PROJINHERIT)
> + return xfs_get_projid(dp);
> + else
> + return XFS_PROJID_DEFAULT;
> +}
You could skip the else here.
Otherwise looks good,
Reviewed-by: Christoph Hellwig <hch@....de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists