summaryrefslogtreecommitdiffstats
path: root/fs/nls/mac-iceland.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-06-20 18:12:02 +0100
committerDavid Howells <dhowells@redhat.com>2019-06-20 18:12:02 +0100
commit2cd42d19cffa0ec3dfb57b1b3e1a07a9bf4ed80a (patch)
tree87a3f6b496fbc9ba07010749e7fcb76ce25dab57 /fs/nls/mac-iceland.c
parent90fa9b64523a645a97edc0bdcf2d74759957eeee (diff)
downloadlinux-2cd42d19cffa0ec3dfb57b1b3e1a07a9bf4ed80a.tar.bz2
afs: Fix setting of i_blocks
The setting of i_blocks, which is calculated from i_size, has got accidentally misordered relative to the setting of i_size when initially setting up an inode. Further, i_blocks isn't updated by afs_apply_status() when the size is updated. To fix this, break the i_size/i_blocks setting out into a helper function and call it from both places. Fixes: a58823ac4589 ("afs: Fix application of status and callback to be under same lock") Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/nls/mac-iceland.c')
0 files changed, 0 insertions, 0 deletions