> Bad names, IMO.
>
You're probably right. Can you suggest better ones?
Thanks,
Miklos
> > +static inline void dput_path(struct path *path, struct nameidata *nd)
> > +{
> > + dput(path->dentry);
> > + if (path->mnt != nd->mnt)
> > + mntput(path->mnt);
> > +}
> > +
> > +static i
On Tue, Aug 23, 2005 at 10:26:53PM +0200, Miklos Szeredi wrote:
Bad names, IMO.
> +static inline void dput_path(struct path *path, struct nameidata *nd)
> +{
> + dput(path->dentry);
> + if (path->mnt != nd->mnt)
> + mntput(path->mnt);
> +}
> +
> +static inline void path_to_n
Extract common code into inline functions to make reading easier.
Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]>
Index: linux/fs/namei.c
===
--- linux.orig/fs/namei.c 2005-08-23 20:25:53.0 +0200
+++ linux/fs/namei.c
3 matches
Mail list logo