lustre: get rid of playing with ->fs
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Dec 2014 03:40:27 +0000 (22:40 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Dec 2014 11:43:56 +0000 (06:43 -0500)
commit1ad581ebf31688155db50665005af73e0184e427
tree8690b8e6669b77cbd3ff31bf578da73e8ebd9aa2
parent98af592f5bf863137ae2872ed03720f02fbc82c3
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>
drivers/staging/lustre/lustre/include/linux/lustre_compat25.h
drivers/staging/lustre/lustre/llite/dir.c
drivers/staging/lustre/lustre/llite/llite_lib.c