diff options
author | Christoph Hellwig <hch@lst.de> | 2008-02-08 07:20:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:34 -0500 |
commit | 74bedc4d56211b30686c6f2f574bf6c6a9654887 (patch) | |
tree | ce9e18f9f52c76a05c8a7ec91510da6041cca7e1 /fs | |
parent | 9261303ab7589cda6a3b95f9f80c9063538dc335 (diff) |
libfs: rename simple_attr_close to simple_attr_release
simple_attr_close implementes ->release so it should be named accordingly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: <stefano.brivio@polimi.it>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg KH <greg@kroah.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/libfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/libfs.c b/fs/libfs.c index d6de56a6e183..b004dfadd891 100644 --- a/fs/libfs.c +++ b/fs/libfs.c | |||
@@ -615,7 +615,7 @@ int simple_attr_open(struct inode *inode, struct file *file, | |||
615 | return nonseekable_open(inode, file); | 615 | return nonseekable_open(inode, file); |
616 | } | 616 | } |
617 | 617 | ||
618 | int simple_attr_close(struct inode *inode, struct file *file) | 618 | int simple_attr_release(struct inode *inode, struct file *file) |
619 | { | 619 | { |
620 | kfree(file->private_data); | 620 | kfree(file->private_data); |
621 | return 0; | 621 | return 0; |
@@ -804,6 +804,6 @@ EXPORT_SYMBOL(simple_transaction_get); | |||
804 | EXPORT_SYMBOL(simple_transaction_read); | 804 | EXPORT_SYMBOL(simple_transaction_read); |
805 | EXPORT_SYMBOL(simple_transaction_release); | 805 | EXPORT_SYMBOL(simple_transaction_release); |
806 | EXPORT_SYMBOL_GPL(simple_attr_open); | 806 | EXPORT_SYMBOL_GPL(simple_attr_open); |
807 | EXPORT_SYMBOL_GPL(simple_attr_close); | 807 | EXPORT_SYMBOL_GPL(simple_attr_release); |
808 | EXPORT_SYMBOL_GPL(simple_attr_read); | 808 | EXPORT_SYMBOL_GPL(simple_attr_read); |
809 | EXPORT_SYMBOL_GPL(simple_attr_write); | 809 | EXPORT_SYMBOL_GPL(simple_attr_write); |