From 99ae5d04065323d25c27af0c92b155d6e17e85a8 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 26 Mar 2018 20:33:08 +0200 Subject: fs: Add super_operations Add a struct super_operations we can use later when we get a fs implementation closer to Linux. Only add the functions we'll likely need though. Signed-off-by: Sascha Hauer --- fs/ubifs/super.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fs/ubifs/super.c') diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index ce6e95e373..b4eb76202b 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -556,7 +556,6 @@ out: done: clear_inode(inode); } -#endif static void ubifs_dirty_inode(struct inode *inode, int flags) { @@ -569,7 +568,6 @@ static void ubifs_dirty_inode(struct inode *inode, int flags) } } -#ifndef __BAREBOX__ static int ubifs_statfs(struct dentry *dentry, struct kstatfs *buf) { struct ubifs_info *c = dentry->d_sb->s_fs_info; @@ -2107,9 +2105,7 @@ const struct super_operations ubifs_super_operations = { .write_inode = ubifs_write_inode, .evict_inode = ubifs_evict_inode, .statfs = ubifs_statfs, -#endif .dirty_inode = ubifs_dirty_inode, -#ifndef __BAREBOX__ .remount_fs = ubifs_remount_fs, .show_options = ubifs_show_options, .sync_fs = ubifs_sync_fs, -- cgit v1.2.3