commit | 37a8d89aee2a5b58812e19520d96632efe987f54 | [log] [tgz] |
---|---|---|
author | Joseph Qi <joseph.qi@huawei.com> | Tue Apr 14 15:43:10 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 14 16:48:57 2015 -0700 |
tree | 3a37748f61c41beb12213bd67a46c45d25553936 | |
parent | 7e9b19551c8249baf380cbd274633ee4af95bc99 [diff] |
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>