diff options
author | Weston Andros Adamson <dros@netapp.com> | 2011-04-13 10:53:51 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-13 13:15:51 -0400 |
commit | 79a48a1f5d99ab66cf83d2d5d805e7a0e08452ed (patch) | |
tree | 158e953b809b93d93334cc91662136af27b69a8d /net/sunrpc/auth_gss/auth_gss.c | |
parent | c0d0e96b840dcc73f9b9d45bf8f405dbce72a079 (diff) | |
download | linux-79a48a1f5d99ab66cf83d2d5d805e7a0e08452ed.tar.gz linux-79a48a1f5d99ab66cf83d2d5d805e7a0e08452ed.tar.bz2 linux-79a48a1f5d99ab66cf83d2d5d805e7a0e08452ed.zip |
Don't mark_inode_dirty_sync() while holding lock
mark_inode_dirty_sync() grabs the same inode lock!
race conditions between holding the lock in pnfs_set_layoutcommit() and in
mark_inode_dirty_sync() can result in a second call to pnfs_layoutcommit_inode(), but
this will be a noop as NFS_INO_LAYOUTCOMMIT won't be set in the second call
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/auth_gss.c')
0 files changed, 0 insertions, 0 deletions