diff options
author | Steve French <sfrench@us.ibm.com> | 2007-07-18 20:38:57 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-07-18 20:38:57 -0400 |
commit | 1ff8392c32a2645d2665ca779ecb91bb29361c13 (patch) | |
tree | 860b95e9a499ade4060848740fc6ce1fbb4e4e8d /fs/ext2/file.c | |
parent | 70b315b0dd3879cb3ab8aadffb14f10b2d19b9c3 (diff) | |
parent | 5bae7ac9feba925fd0099057f6b23d7be80b7b41 (diff) |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
fs/cifs/export.c
Diffstat (limited to 'fs/ext2/file.c')
-rw-r--r-- | fs/ext2/file.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c index 566d4e2d3852..ab7961260c49 100644 --- a/fs/ext2/file.c +++ b/fs/ext2/file.c | |||
@@ -24,9 +24,9 @@ | |||
24 | #include "acl.h" | 24 | #include "acl.h" |
25 | 25 | ||
26 | /* | 26 | /* |
27 | * Called when an inode is released. Note that this is different | 27 | * Called when filp is released. This happens when all file descriptors |
28 | * from ext2_open_file: open gets called at every open, but release | 28 | * for a single struct file are closed. Note that different open() calls |
29 | * gets called only when /all/ the files are closed. | 29 | * for the same file yield different struct file structures. |
30 | */ | 30 | */ |
31 | static int ext2_release_file (struct inode * inode, struct file * filp) | 31 | static int ext2_release_file (struct inode * inode, struct file * filp) |
32 | { | 32 | { |
@@ -53,7 +53,6 @@ const struct file_operations ext2_file_operations = { | |||
53 | .open = generic_file_open, | 53 | .open = generic_file_open, |
54 | .release = ext2_release_file, | 54 | .release = ext2_release_file, |
55 | .fsync = ext2_sync_file, | 55 | .fsync = ext2_sync_file, |
56 | .sendfile = generic_file_sendfile, | ||
57 | .splice_read = generic_file_splice_read, | 56 | .splice_read = generic_file_splice_read, |
58 | .splice_write = generic_file_splice_write, | 57 | .splice_write = generic_file_splice_write, |
59 | }; | 58 | }; |
@@ -71,7 +70,6 @@ const struct file_operations ext2_xip_file_operations = { | |||
71 | .open = generic_file_open, | 70 | .open = generic_file_open, |
72 | .release = ext2_release_file, | 71 | .release = ext2_release_file, |
73 | .fsync = ext2_sync_file, | 72 | .fsync = ext2_sync_file, |
74 | .sendfile = xip_file_sendfile, | ||
75 | }; | 73 | }; |
76 | #endif | 74 | #endif |
77 | 75 | ||