summaryrefslogtreecommitdiffstats
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-02-05 02:12:58 +0100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-07 08:21:14 +0100
commit199037c598daf5f3602dace68c331665a4f4f0c1 (patch)
tree5a42444f8063eea365b75951441f2fdc709e8fbe /kernel/audit.h
parent[XFS] prevent panic during log recovery due to bogus op_hdr length (diff)
downloadlinux-199037c598daf5f3602dace68c331665a4f4f0c1.tar.xz
linux-199037c598daf5f3602dace68c331665a4f4f0c1.zip
[XFS] remove permission check from xfs_change_file_space
Both callers of xfs_change_file_space alreaedy do the file->f_mode & FMODE_WRITE check to ensure we have a file descriptor that has been opened for write mode, so there is no need to re-check that with xfs_iaccess. Especially as the later might wrongly deny it for corner cases like file descriptor passing through unix domain sockets. SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:30365a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions