aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-01-08 08:21:43 +0800
committerMark Fasheh <mfasheh@suse.com>2009-02-02 14:20:18 -0800
commit554e7f9e043e29da79c044f7a55efe4fad40701e (patch)
tree769a30452132cedc68cd6171c17c407bf3c39464 /fs/nfs/write.c
parent0e0333429a6280e6eb3c98845e4eed90d5f8078a (diff)
ocfs2: Access the xattr bucket only before modifying it.
In ocfs2_xattr_value_truncate, we may call b-tree codes which will extend the journal transaction. It has a potential problem that it may let the already-accessed-but-not-dirtied buffers gone. So we'd better access the bucket after we call ocfs2_xattr_value_truncate. And as for the root buffer for the xattr value, b-tree code will acess and dirty it, so we don't need to worry about it. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions