]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ocfs2: take inode lock when get clusters
authorJoseph Qi <joseph.qi@huawei.com>
Tue, 14 Apr 2015 22:43:10 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:57 +0000 (16:48 -0700)
commit37a8d89aee2a5b58812e19520d96632efe987f54
tree3a37748f61c41beb12213bd67a46c45d25553936
parent7e9b19551c8249baf380cbd274633ee4af95bc99
ocfs2: take inode lock when get clusters

We need take inode lock when calling ocfs2_get_clusters.
And use GFP_NOFS instead of GFP_KERNEL.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/aops.c