diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-21 21:20:42 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-31 22:48:54 +0100 |
commit | a7400222e3eb7d5ce3820d2234905bbeafabd171 (patch) | |
tree | f630c4138ceb3889e08c5cd0029d2f07ec47dd0a /fs/coda/coda_linux.c | |
parent | vfs: make first argument of dir_context.actor typed (diff) | |
download | linux-a7400222e3eb7d5ce3820d2234905bbeafabd171.tar.xz linux-a7400222e3eb7d5ce3820d2234905bbeafabd171.zip |
new helper: is_root_inode()
replace open-coded instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/coda/coda_linux.c')
-rw-r--r-- | fs/coda/coda_linux.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/coda/coda_linux.c b/fs/coda/coda_linux.c index 1326d38960db..f1714cfb589c 100644 --- a/fs/coda/coda_linux.c +++ b/fs/coda/coda_linux.c @@ -40,12 +40,6 @@ int coda_iscontrol(const char *name, size_t length) (strncmp(name, CODA_CONTROL, CODA_CONTROLLEN) == 0)); } -/* recognize /coda inode */ -int coda_isroot(struct inode *i) -{ - return ( i->i_sb->s_root->d_inode == i ); -} - unsigned short coda_flags_to_cflags(unsigned short flags) { unsigned short coda_flags = 0; |