diff options
author | Jan Kara <jack@suse.cz> | 2010-05-20 16:00:36 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-05-24 14:10:19 +0200 |
commit | 8f45c33decf62e1aaaa9411aae8fef6a38f95845 (patch) | |
tree | 35304753fb416a4f82ec93609b8664d12d2a8d50 /fs/ufs/file.c | |
parent | 36350462814739e1f38cba59a6900ebadb08d3bb (diff) | |
download | linux-8f45c33decf62e1aaaa9411aae8fef6a38f95845.tar.bz2 |
ufs: Remove dead quota code
UFS quota is non-functional at least since 2.6.12 because dq_op was set
to NULL. Since the filesystem exists mainly to allow cooperation with Solaris
and quota format isn't standard, just remove the dead code.
CC: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ufs/file.c')
-rw-r--r-- | fs/ufs/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ufs/file.c b/fs/ufs/file.c index a8962cecde5b..73655c61240a 100644 --- a/fs/ufs/file.c +++ b/fs/ufs/file.c @@ -24,7 +24,6 @@ */ #include <linux/fs.h> -#include <linux/quotaops.h> #include "ufs_fs.h" #include "ufs.h" @@ -41,7 +40,7 @@ const struct file_operations ufs_file_operations = { .write = do_sync_write, .aio_write = generic_file_aio_write, .mmap = generic_file_mmap, - .open = dquot_file_open, + .open = generic_file_open, .fsync = simple_fsync, .splice_read = generic_file_splice_read, }; |