]> git.baikalelectronics.ru Git - 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)
commit8de504b0c150792f3d6a961328323e732b6b0de5
tree3a37748f61c41beb12213bd67a46c45d25553936
parent14e8524db6d1b1e4fa2b2bb1de5173a9107e7bbd
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