mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Cc: <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Greg KH <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9261303ab7
commit
74bedc4d56
3 changed files with 5 additions and 5 deletions
|
|
@ -615,7 +615,7 @@ int simple_attr_open(struct inode *inode, struct file *file,
|
|||
return nonseekable_open(inode, file);
|
||||
}
|
||||
|
||||
int simple_attr_close(struct inode *inode, struct file *file)
|
||||
int simple_attr_release(struct inode *inode, struct file *file)
|
||||
{
|
||||
kfree(file->private_data);
|
||||
return 0;
|
||||
|
|
@ -804,6 +804,6 @@ EXPORT_SYMBOL(simple_transaction_get);
|
|||
EXPORT_SYMBOL(simple_transaction_read);
|
||||
EXPORT_SYMBOL(simple_transaction_release);
|
||||
EXPORT_SYMBOL_GPL(simple_attr_open);
|
||||
EXPORT_SYMBOL_GPL(simple_attr_close);
|
||||
EXPORT_SYMBOL_GPL(simple_attr_release);
|
||||
EXPORT_SYMBOL_GPL(simple_attr_read);
|
||||
EXPORT_SYMBOL_GPL(simple_attr_write);
|
||||
|
|
|
|||
Loading…
Reference in a new issue