summaryrefslogtreecommitdiff
path: root/fs/ufs/file.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-05-20 16:00:36 +0200
committerJan Kara <jack@suse.cz>2010-05-24 14:10:19 +0200
commit8f45c33decf62e1aaaa9411aae8fef6a38f95845 (patch)
tree35304753fb416a4f82ec93609b8664d12d2a8d50 /fs/ufs/file.c
parent36350462814739e1f38cba59a6900ebadb08d3bb (diff)
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.c3
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,
};