summaryrefslogtreecommitdiff
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2008-02-15 14:37:22 -0800
committerAl Viro <viro@zeniv.linux.org.uk>2008-03-19 06:49:36 -0400
commit3227e14c3cab5ef7972c72eb13c13de444b5bfbc (patch)
treee846d8e513f1d43da3e5ca9a7004fb8349b67852 /fs/pipe.c
parentf382d6e631fe424200ee0d8bb16539f5b7bef7be (diff)
downloadlwn-3227e14c3cab5ef7972c72eb13c13de444b5bfbc.tar.gz
lwn-3227e14c3cab5ef7972c72eb13c13de444b5bfbc.zip
[PATCH] reiserfs: eliminate private use of struct file in xattr
After several posts and bug reports regarding interaction with the NULL nameidata, here's a patch to clean up the mess with struct file in the reiserfs xattr code. As observed in several of the posts, there's really no need for struct file to exist in the xattr code. It was really only passed around due to the f_op->readdir() and a_ops->{prepare,commit}_write prototypes requiring it. reiserfs_prepare_write() and reiserfs_commit_write() don't actually use the struct file passed to it, and the xattr code uses a private version of reiserfs_readdir() to enumerate the xattr directories. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Acked-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Hansen <haveblue@us.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions