diff options
author | Sripathi Kodi <sripathik@in.ibm.com> | 2010-03-25 12:41:54 +0000 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2010-05-21 16:44:33 -0500 |
commit | 9b6533c9b331ddbba9a40c972d82222ecffbc359 (patch) | |
tree | 62d4f5ece3c2cbefc09197b386cac2cd4a6693ae /fs/9p/vfs_file.c | |
parent | c56e4acf55c804cbeea0ddb696ef698c73d39826 (diff) | |
download | linux-9b6533c9b331ddbba9a40c972d82222ecffbc359.tar.bz2 |
9p: VFS switches for 9p2000.L: VFS switches
Implements VFS switches for 9p2000.L protocol.
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs/9p/vfs_file.c')
-rw-r--r-- | fs/9p/vfs_file.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index df52d488d2a6..25b300e1c9d7 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c @@ -296,3 +296,14 @@ const struct file_operations v9fs_file_operations = { .mmap = generic_file_readonly_mmap, .fsync = v9fs_file_fsync, }; + +const struct file_operations v9fs_file_operations_dotl = { + .llseek = generic_file_llseek, + .read = v9fs_file_read, + .write = v9fs_file_write, + .open = v9fs_file_open, + .release = v9fs_dir_release, + .lock = v9fs_file_lock, + .mmap = generic_file_readonly_mmap, + .fsync = v9fs_file_fsync, +}; |