summaryrefslogtreecommitdiff
path: root/fs/ocfs2/sysfile.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-06-04 15:26:49 +0200
committerJoel Becker <joel.becker@oracle.com>2009-06-22 14:34:22 -0700
commit9a7aa12f3911853a3574d47d567b81a2a5df7208 (patch)
treeec3c8efe46b59ed78515ec75302a86054f60d6e5 /fs/ocfs2/sysfile.c
parentdf152c241df9e9d2b9a65d37bd02961abe7f591a (diff)
downloadlwn-9a7aa12f3911853a3574d47d567b81a2a5df7208.tar.gz
lwn-9a7aa12f3911853a3574d47d567b81a2a5df7208.zip
vfs: Set special lockdep map for dirs only if not set by fs
Some filesystems need to set lockdep map for i_mutex differently for different directories. For example OCFS2 has system directories (for orphan inode tracking and for gathering all system files like journal or quota files into a single place) which have different locking locking rules than standard directories. For a filesystem setting lockdep map is naturaly done when the inode is read but we have to modify unlock_new_inode() not to overwrite the lockdep map the filesystem has set. Acked-by: peterz@infradead.org CC: mingo@redhat.com Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/sysfile.c')
0 files changed, 0 insertions, 0 deletions