]> asedeno.scripts.mit.edu Git - linux.git/commit
orangefs: hold i_lock during inode_getattr
authorMartin Brandenburg <martin@omnibond.com>
Mon, 12 Feb 2018 17:04:57 +0000 (17:04 +0000)
committerMike Marshall <hubcap@omnibond.com>
Fri, 3 May 2019 18:32:38 +0000 (14:32 -0400)
commit5e4f606e26d6a1df6784f5833ea258047ac93254
treed6a97f4c40806e71209a445034dfa37e761fff3e
parent5e7f1d433804450cdb5ba478d26742963e06b1bc
orangefs: hold i_lock during inode_getattr

This should be a no-op now.  When inode writeback works, this will
prevent a getattr from overwriting inode data while an inode is
transitioning to dirty.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/inode.c
fs/orangefs/orangefs-utils.c