OSDN Git Service

orangefs: don't reinitialize result_mask in ->getattr
authorChristoph Hellwig <hch@lst.de>
Mon, 21 Jan 2019 15:23:25 +0000 (16:23 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Feb 2019 06:55:45 +0000 (01:55 -0500)
commit5678b5d6a8ec433936ccb9e0626e6361e241c275
tree058df16be62bf481ef59e20fcbbf6a2b358400b0
parent73052b0daee0b750b39af18460dfec683e4f5887
orangefs: don't reinitialize result_mask in ->getattr

The caller already initializes it to the basic stats.  Just
clear not supported default bits where needed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/orangefs/inode.c