lustre: get rid of playing with ->fs
* removed several pieces of dead code in lustre_compat25.h
* don't open-code current_umask() (and BTW, 0755 & (S_IRWXUGO | S_ISVTX)
is better spelled as 0755)
* fix broken attempt to get the pathname by dentry - abusing d_path() for
that is simply wrong.
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- drivers/staging/lustre/lustre/include/linux/lustre_compat25.h 0 additions, 24 deletions...ers/staging/lustre/lustre/include/linux/lustre_compat25.h
- drivers/staging/lustre/lustre/llite/dir.c 1 addition, 1 deletiondrivers/staging/lustre/lustre/llite/dir.c
- drivers/staging/lustre/lustre/llite/llite_lib.c 1 addition, 16 deletionsdrivers/staging/lustre/lustre/llite/llite_lib.c
Please register or sign in to comment