From: Weston Andros Adamson Date: Wed, 13 Apr 2011 14:53:51 +0000 (-0400) Subject: Don't mark_inode_dirty_sync() while holding lock X-Git-Tag: v2.6.39-rc6~24^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a48a1f5d99ab66cf83d2d5d805e7a0e08452ed;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed