aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-02-15 10:15:18 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-15 10:15:18 +0000
commit61a30dcb5866eb7e92796b2988ddb4c94b9f78ac (patch)
treeaa27ef185437a813041aae3e9f0aa403a960db43 /fs/gfs2/ops_super.c
parent4dd651adbb4898d3200426c197b26c99d2209d8d (diff)
downloadkernel_samsung_smdk4412-61a30dcb5866eb7e92796b2988ddb4c94b9f78ac.zip
kernel_samsung_smdk4412-61a30dcb5866eb7e92796b2988ddb4c94b9f78ac.tar.gz
kernel_samsung_smdk4412-61a30dcb5866eb7e92796b2988ddb4c94b9f78ac.tar.bz2
[GFS2] Fix for lock recursion problem for internal files
Two internal files which are read through the gfs2_internal_read() routine were already locked when the routine was called and this do not need locking at the redapages level. This patch introduces a struct file which is used as a sentinal so that readpage will only perform locking in the case that the struct file passed to it is _not_ equal to this sentinal. Since the comments in the generic kernel code indicate that the struct file will never be used for anything other than passing straight through to readpage(), this should be ok. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_super.c')
0 files changed, 0 insertions, 0 deletions