NFS: Fix memroy leak for double mounts
authorKinglong Mee <kinglongmee@gmail.com>
Tue, 15 Apr 2014 09:22:59 +0000 (17:22 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Apr 2014 14:29:25 +0000 (10:29 -0400)
commit4dfc7fdb9e261d77818616782ae1841a80e0fc83
treef678be3838e7865e79adb45fc248ed6a97886b19
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
NFS: Fix memroy leak for double mounts

When double mounting same nfs filesystem, the devname saved in d_fsdata
will be lost.The second mount should not change the devname that
be saved in d_fsdata.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/getroot.c