]> Git Repo - linux.git/commit - fs/cifs/inode.c
CIFS: Protect i_nlink from being negative
authorSteve French <[email protected]>
Fri, 3 Aug 2012 13:43:01 +0000 (08:43 -0500)
committerSteve French <[email protected]>
Mon, 20 Aug 2012 03:30:00 +0000 (22:30 -0500)
commitb7ca69289680cf631fb20b7d436467c4ec1153cd
tree94c52c03ebf4efa68cb52df5aa60b554cf6cf999
parent6dab7ede9390d4d937cb89feca932e4fd575d2da
CIFS: Protect i_nlink from being negative

that can cause warning messages.  Pavel had initially
suggested a smaller patch around drop_nlink, after
a similar problem was discovered NFS.  Protecting
additional places where nlink is touched was
suggested by Jeff Layton and is included in this.

Reviewed-by: Pavel Shilovsky <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Steve French <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/inode.c
fs/cifs/link.c
This page took 0.056228 seconds and 4 git commands to generate.