]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: take inode lock when get clusters
authorJoseph Qi <joseph.qi@huawei.com>
Tue, 7 Apr 2015 23:43:53 +0000 (09:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:43:53 +0000 (09:43 +1000)
commitc29115777819749cf0e38da497b801f14bc60082
tree9a4e295a080773873b377a63d9a2a63220b59552
parent8d30ba4f76895ab9befc7dbf3fc02e89573bb84b
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>
fs/ocfs2/aops.c