summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-08-23 11:19:25 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2011-10-21 13:39:29 +0200
commit9453615a1a7ef3fa910c6464a619595556cfcd63 (patch)
tree40242c84367376197420ce12e50ae29e720dc5e3 /fs/gfs2/lops.c
parentGFS2: Clean up gfs2_create (diff)
downloadlinux-9453615a1a7ef3fa910c6464a619595556cfcd63.tar.xz
linux-9453615a1a7ef3fa910c6464a619595556cfcd63.zip
GFS2: Fix lseek after SEEK_DATA, SEEK_HOLE have been added
We need to take the inode's glock whenever the inode's size is referenced, otherwise it might not be uptodate. Even though generic_file_llseek_unlocked() doesn't implement SEEK_DATA, SEEK_HOLE directly, it does reference the inode's size in those cases, so we need to add them to the list of origins which need the glock. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Cc: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'fs/gfs2/lops.c')
0 files changed, 0 insertions, 0 deletions