diff options
author | Bob Peterson <rpeterso@redhat.com> | 2013-05-28 16:04:44 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-06-03 17:38:58 +0200 |
commit | 2b3dcf35810ff02ad0e785527a25c1b13bf82b19 (patch) | |
tree | 0ab2a2f709290e2eb4d74d385a7d832929e3768c /security | |
parent | GFS2: Set log descriptor type for jdata blocks (diff) | |
download | linux-2b3dcf35810ff02ad0e785527a25c1b13bf82b19.tar.xz linux-2b3dcf35810ff02ad0e785527a25c1b13bf82b19.zip |
GFS2: Increase i_writecount during gfs2_setattr_size
This patch calls get_write_access in a few functions. This
merely increases inode->i_writecount for the duration of the function.
That will ensure that any file closes won't delete the inode's
multi-block reservation while the function is running.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions