inode.c (976e3645923bdd2fe7893aae33fd7a21098bfb28) | inode.c (0d56a4518d5eaf595a24ab2202e171330bb2ed72) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Super block/filesystem wide operations 4 * 5 * Copyright (C) 1996 Peter J. Braam <braam@maths.ox.ac.uk> and 6 * Michael Callahan <callahan@maths.ox.ac.uk> 7 * 8 * Rewritten for Linux 2.1. Peter Braam <braam@cs.cmu.edu> --- 242 unchanged lines hidden (view full) --- 251 coda_cache_clear_inode(inode); 252} 253 254int coda_getattr(const struct path *path, struct kstat *stat, 255 u32 request_mask, unsigned int flags) 256{ 257 int err = coda_revalidate_inode(d_inode(path->dentry)); 258 if (!err) | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Super block/filesystem wide operations 4 * 5 * Copyright (C) 1996 Peter J. Braam <braam@maths.ox.ac.uk> and 6 * Michael Callahan <callahan@maths.ox.ac.uk> 7 * 8 * Rewritten for Linux 2.1. Peter Braam <braam@cs.cmu.edu> --- 242 unchanged lines hidden (view full) --- 251 coda_cache_clear_inode(inode); 252} 253 254int coda_getattr(const struct path *path, struct kstat *stat, 255 u32 request_mask, unsigned int flags) 256{ 257 int err = coda_revalidate_inode(d_inode(path->dentry)); 258 if (!err) |
259 generic_fillattr(d_inode(path->dentry), stat); | 259 generic_fillattr(&init_user_ns, d_inode(path->dentry), stat); |
260 return err; 261} 262 263int coda_setattr(struct dentry *de, struct iattr *iattr) 264{ 265 struct inode *inode = d_inode(de); 266 struct coda_vattr vattr; 267 int error; --- 63 unchanged lines hidden --- | 260 return err; 261} 262 263int coda_setattr(struct dentry *de, struct iattr *iattr) 264{ 265 struct inode *inode = d_inode(de); 266 struct coda_vattr vattr; 267 int error; --- 63 unchanged lines hidden --- |