]> git.baikalelectronics.ru Git - kernel.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)
commit32fec7e52b0528a03ee0d65cd10e95b23b9b0380
treed6a97f4c40806e71209a445034dfa37e761fff3e
parent510f8e762fe99559fa77ca40b328556e47a8eba5
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