ceph: do not call __mark_dirty_inode under i_lock
authorSage Weil <sage@newdream.net>
Wed, 4 May 2011 18:33:47 +0000 (11:33 -0700)
committerSage Weil <sage@newdream.net>
Wed, 4 May 2011 19:56:45 +0000 (12:56 -0700)
commitfca65b4ad72d28cbb43a029114d04b89f06faadb
treeaf7a0d64fa632c45a064d49f8d09f6874b1f7533
parent4ad12621e442b7a072e81270808f617cb65c5672
ceph: do not call __mark_dirty_inode under i_lock

The __mark_dirty_inode helper now takes i_lock as of 250df6ed.  Fix the
one ceph callers that held i_lock (__ceph_mark_dirty_caps) to return the
flags value so that the callers can do it outside of i_lock.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c
fs/ceph/file.c
fs/ceph/inode.c
fs/ceph/super.h
fs/ceph/xattr.c